package com.WangNan.mall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description:
 * @Author :W.
 * @Date:2025/4/22 15:12
 */

@Data
//@TableName("wn_goods")
public class Goods {
    private int id;
    private String name;
    private String no;
    private Integer categoryId;
    private Integer stock;
    private BigDecimal marketPrice;
    private BigDecimal salePrice;
    private String image;
    private String description;
    private String hottest;
    private String newest;
    private LocalDateTime saleTime;
    private String status;

    private String cname;
    private Category category;
}
